/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights reserved.
 * <a>http://www.cqcis.com</a>
 */
package com.firebird.fb.dao;

import java.util.List;
import java.util.Map;

import com.cqcis.base.orm.jdbc.BaseJdbcDao;

/**
 * @author qiuxj create 2009-6-8
 *
 */
public class FbCmsJdbcDao extends BaseJdbcDao {
	
	public List<Map<String, Object>> getActicleList() {
		String sql = "select * from ecs_article";
		List<Map<String, Object>> list = super.getBaseJdbcTemplate().queryForList(sql);
		return list;
	}
	
	public List<Map<String, Object>> getRegion() {
		String sql = "select * from ecs_region";
		List<Map<String, Object>> list = super.getBaseJdbcTemplate().queryForList(sql);
		return list;
	}

}
